<?php
namespace haibao\cms\model\data\behavior;

class SiteMonitorCountHour extends \haibao\cms\model\data\behavior\SiteMonitorCount{
	const TYPE_HOUR = 1;
	const TYPE_DAY = 2;
	const TYPE_REGUSER_HOUR = 3;
	const TYPE_REGUSER_DAY = 4;
	const TYPE_UNREGUSER_HOUR = 5;
	const TYPE_UNREGUSER_DAY = 6;
	const TYPE_WEEK = 7;
	const TYPE_MONTH = 8;
	
	public $Type;
	public $UserCount = 0;
	public $UnRegCount = 0;
		
	public function __construct(){
		parent::__construct();
		$this->intField('Type', 'Type',true);
		$this->intField('UserCount','UserCount');
		$this->setTableName('SiteMonitorCountHour');
	}
}

	